<?php defined('SYSPATH') or die('No direct script access.');

require_once Kohana::find_file('hook/classes', 'hook');
// Load Resque config as environment variables
foreach (Kohana::$config->load('hooks')->as_array() as $var => $param)
{
	putenv(strtoupper($var).'='.(string)$param);
}
